home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19950929-19951130 / 000269_news@columbia.edu_Thu Nov 2 02:58:50 1995.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA28184
  2.   (5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun.cc.columbia.edu>); Thu, 2 Nov 1995 13:09:29 -0500
  3. Received: by apakabar.cc.columbia.edu id AA16926
  4.   (5.65c+CU/IDA-1.4.4/HLK for kermit.misc@watsun); Thu, 2 Nov 1995 13:09:26 -0500
  5. Path: news.columbia.edu!news.cs.columbia.edu!news.boxhill.com!news.sprintlink.net!news.inc.net!news.uoregon.edu!vixen.cso.uiuc.edu!uwm.edu!chi-news.cic.net!newsfeed.internetmci.com!in1.uu.net!nwnews.wa.com!news1.halcyon.com!chinook.halcyon.com!kmhouse
  6. From: "Kathleen M. House" <kmhouse@halcyon.com>
  7. Newsgroups: comp.protocols.kermit.misc
  8. Subject: Can Kermit generate key-presses?
  9. Date: Wed, 1 Nov 1995 18:58:50 -0800
  10. Organization: Northwest Nexus Inc.
  11. Lines: 22
  12. Message-Id: <Pine.ULT.3.91.951101184311.28875B-100000@chinook.halcyon.com>
  13. References: <Pine.HPP.3.91.951030000148.24557B-100000@bluejay.creighton.edu> <475c3c$ac7@apakabar.cc.columbia.edu> <1995Oct31.121502.65498@cc.usu.edu>
  14. Nntp-Posting-Host: chinook.halcyon.com
  15. Mime-Version: 1.0
  16. Content-Type: TEXT/PLAIN; charset=US-ASCII
  17. In-Reply-To: <1995Oct31.121502.65498@cc.usu.edu> 
  18. Apparently-To: kermit.misc@watsun.cc.columbia.edu
  19.  
  20. Hello, all,
  21. I have a need for a batch program to simulate pressing a PF key.
  22.  
  23. I've gotten Kermit to generate the binary code for "ringing" the bell, and
  24. piped that to a file that I can now include in any batch program.  The code
  25. executes as soon as it is typed to the screen, and I've got a nice little 
  26. bell-ringer whenever I want it.
  27.  
  28. Now I need an F-key presser. I've tried using show-key to display the 
  29. decimal code, and then echoing that code.  For some reason, although the 
  30. regular keys show up fine when their decimal code is echoed, the F and 
  31. other function keys do not. The echo merely shows the graphic (not the key 
  32. name) for that decimal code.  For example, echoing the code for F2 
  33. produces <<.  When this is piped to a file, and that file typed to the 
  34. screen, the code does not execute.
  35.  
  36. Does anyone know why the function keys behave differently and how to get 
  37. one to execute in a batch program?
  38.  
  39. Any help would be, as always, greatly appreciated.  
  40.  
  41. Kathleen House